package com.thread;

import com.MainFrame;

public class LoadMainPanelThread implements Runnable{
	private MainFrame main = null;
	
	public LoadMainPanelThread(MainFrame main){
		this.main = main;
	}

	public void run() {
		main.getCardLayout().show(main.getLoadPathPanel()	, "wait");
		main.doMainPanelInit();
		try {
			Thread.sleep(500);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		main.showMainPanel();
	}
	
}
